package com.example.mongodb.dao;

import com.example.mongodb.entity.Student;

import java.util.List;

public interface StudentDao {

    void addData(Student student);

    void delData(Long id);

    Student getById(Object id);

    List<Student> getAll();

}
